<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<script type="text/javascript">
function registerDeliveryEnterprise(){
	window.open("/${initParam.context_root }/myshop/registerDeliveryEnterprise.do", "pop", "width=400, height=360");
}

</script>
<style type="text/css">
 	
  	.headline {margin-top: 0px; margin-bottom: 10px; margin-right: auto;}
  	.headtext {font-weight: bolder; color:#B061BF; margin-top: 20px; margin-bottom: 0px; font-style: 돋음; }
</style>
<h3 class="headtext">배송 업체 정보</h3>
<hr class="headline">

	<table class="table table-bordered" border="1" align="center">
		<tr style="background-color:#453949; color: white;">
			<td>업체ID</td><td>업체명</td><td>전화번호</td><td>전화번호2</td>
			<td>E-Mail</td><td>기본배송비</td><td>특수지역명</td><td>지역추가배송비</td><td>홈페이지주소</td>
		</tr>
		<c:forEach items="${requestScope.deliveryEnterprise }" var="deliveryEnterprise">
				<tr><td>${deliveryEnterprise.deliveryEnterpriseId }</td><td>${deliveryEnterprise.enterpriseName}</td><td>${deliveryEnterprise.tel}</td>
				<td>${deliveryEnterprise.tel2}</td><td>${deliveryEnterprise.email}</td><td>${deliveryEnterprise.defaultDeliveryFee}</td>
				<td>${deliveryEnterprise.specialnessLocationName}</td><td>${deliveryEnterprise.locationAddFee}</td><td>${deliveryEnterprise.homepage}</td></tr>
		</c:forEach>
		<tr>
			<td colspan='9' align="center"><input type="button" value="배송업체등록" onclick="registerDeliveryEnterprise()"></td>
		</tr>
	</table>
<div>
	<h3 align="center"><font color="red">등록 및 변경 후 업데이트 된 정보를 보시려면 'F5'key를 눌러주세요~!</font></h3>
</div>